docs: remove deprecated color selection screenshot
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 17 Jul 2013 19:09:10 +0000 (15:09 -0400)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Thu, 18 Jul 2013 00:48:59 +0000 (20:48 -0400)
docs/tools/widgets.c

index 3daf70be6b169cf7b16a1b9f085f9997112fcb04..b0bf8006386d3179de60431c6c8e0a284a3145bd 100644 (file)
@@ -772,37 +772,6 @@ create_window (void)
   return info;
 }
 
-static WidgetInfo *
-create_colorsel (void)
-{
-  WidgetInfo *info;
-  GtkWidget *widget;
-  GtkColorSelection *colorsel;
-  GtkColorSelectionDialog *selection_dialog;
-  GdkRGBA rgba;
-
-  widget = gtk_color_selection_dialog_new ("Color Selection Dialog");
-  selection_dialog = GTK_COLOR_SELECTION_DIALOG (widget);
-  colorsel = GTK_COLOR_SELECTION (gtk_color_selection_dialog_get_color_selection (selection_dialog));
-
-  rgba.red   = 0.4745;
-  rgba.green = 0.8588;
-  rgba.blue  = 0.5843;
-
-  gtk_color_selection_set_previous_rgba (colorsel, &rgba);
-
-  rgba.red   = 0.4902;
-  rgba.green = 0.5764;
-  rgba.blue  = 0.7647;
-
-  gtk_color_selection_set_current_rgba (colorsel, &rgba);
-
-  info = new_widget_info ("colorsel", widget, ASIS);
-  info->include_decorations = TRUE;
-
-  return info;
-}
-
 static WidgetInfo *
 create_fontsel (void)
 {
@@ -1518,7 +1487,6 @@ get_all_widgets (void)
   retval = g_list_prepend (retval, create_toolbar ());
   retval = g_list_prepend (retval, create_tree_view ());
   retval = g_list_prepend (retval, create_window ());
-  retval = g_list_prepend (retval, create_colorsel ());
   retval = g_list_prepend (retval, create_filesel ());
   retval = g_list_prepend (retval, create_fontsel ());
   retval = g_list_prepend (retval, create_assistant ());